//
//  BRScanViewController.h
//  BrezzeSaaS
//
//  Created by IOS on 2021/9/7.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import "BRBaseViewController.h"

// 正常扫码租借，获取机柜码
typedef enum {
    SCANLE_Rent,
    SCANLE_DevNumber,
} RESCANLE_STATUS;

NS_ASSUME_NONNULL_BEGIN

@interface BRScanViewController : BRBaseViewController
// 扫码需求
@property (nonatomic,assign) RESCANLE_STATUS scanleStatus;

@property (nonatomic,copy) void(^blockScanNum)(NSString *numStr,NSString *urlStr);
/// 没有绑定卡
@property (nonatomic,assign) BOOL hasNotCard;
/// 没有绑定卡 点击去绑定回调
@property (nonatomic,copy) BRIntBlock bindBlock;

/// 0 默认 1 置换  2直接购买
@property (nonatomic,assign) NSInteger swapState;

@property (nonatomic,copy) BRVoidBlock toPayBlock;

@end

NS_ASSUME_NONNULL_END
